<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>教育资源-编辑资料</title>
	<link rel="stylesheet" href="css/common.css">
	<link rel="stylesheet" href="css/LeftsideBar.css">
	<link rel="stylesheet" href="resource/resFilesCss/public.css">
	<link rel="stylesheet" href="css/teachInfo.css">
</head>
<body>
	<div id="header"></div>
	<div class="mainBg">
		<div class="mainBgMid clearfix">
			<div class="leftNav">
			</div>
			<div class="rightContent">
				<h4 class="m_userinfo_tt">
					<em class="write_prev" style="display:inline;">任教信息</em>
				</h4>
				<div class="clearfix waiLine dis_none" >
					<div class="line clearfix">
						<dl class="clearfix fl oneDl">
							<dt>
								<a href="">
									<img src="./imgs/floor.png" alt="" class="logoImg">
								</a>
							</dt>
							<dd class="bigList">
								<a href="/index.php?r=space/school/index&amp;sid=05b58c1d815440ac965cefd06ef82c5f">
								丰南小测试学校
								</a>
							</dd>
							<dd>
								<span class="mgr5">河北省</span>
								<span>唐山市</span>
								<span>丰南区</span>
							</dd>
						</dl>
						<p class="rightP">
							<span>申请需要审核，请耐心等待…</span>
							<a href="javascript:;" onclick="revokeApply()">撤销申请</a>
						</p>
					</div>
					<div class="line clearfix">
						<dl class="clearfix fl oneDl">
							<dt>
								<a href="">
									<img src="./imgs/floor.png" alt="" class="logoImg">
								</a>
							</dt>
							<dd class="bigList">
								<a href="/index.php?r=space/school/index&amp;sid=05b58c1d815440ac965cefd06ef82c5f">
								丰南小测试学校
								</a>
							</dd>
							<dd>
								<span class="mgr5">河北省</span>
								<span>唐山市</span>
								<span>丰南区</span>
							</dd>
						</dl>
						<p class="rightP">
							<span>申请需要审核，请耐心等待…</span>
							<a href="javascript:;" onclick="revokeApply()">撤销申请</a>
						</p>
					</div>
				</div>
				<div style="margin-top:125px;" class="nothingBox">
				    <p class="t_c"><img src="https://css.huijiaoyun.com/tianyu_edu/area/edu3.0/images/student_space/join_school_icon.png"></p>
				    <p class="t_c mgt10">欢迎来到教学空间，请先申请加入所在学校吧!</p>
				    <p class="t_c mgt5">
				    <a  class="appplyJoin">
				    申请加入</a>
				    </p>
				</div>
			</div>
		</div>
	</div>
	<div class="footerBot"></div>
	<script src="./js/jquery.js"></script>
	<script src="./js/fxtpl.plus.js"></script>
	<script src="./layui/layui.all.js"></script>
	<link rel="stylesheet" href="./layui/css/layui.css">
	<script>
		// save Btn click 
		$(".btnSave").on("click",function(){
			var inputNow = $(".passWordLine").find("input");
			var redTip = $(".redTip");
			inputNow.each(function(){
				$(this).removeClass("redBorder");
			});
			redTip.each(function(){
				$(this).css("display","none");
			});
			if(inputNow.eq(0).val()==""){
				inputNow.eq(0).addClass("redBorder");
				inputNow.eq(0).siblings(".redTip").css("display","inline-block");
			}else if(inputNow.eq(1).val()==""){
				inputNow.eq(1).addClass("redBorder");
				inputNow.eq(1).siblings(".redTip").css("display","inline-block");
			}else if(inputNow.eq(2).val()==""){
				inputNow.eq(2).addClass("redBorder");
				inputNow.eq(2).siblings(".redTip").css("display","inline-block");
			}else{
				window.location.href = "tesachSpace.html";
			}
			return false;
		})

		 var dataClass = {"dataClass":7};
		 var header = Fxtpl.render('./weight/header.html',dataClass);
		 $('#header').html(header);
		 var sildeBar = { rankNum:5};
		 var leftNavBar = Fxtpl.render('./weight/LeftsideBar.html',sildeBar);
		 $(".leftNav").html(leftNavBar);

		 $(".appplyJoin").on("click",function(){
		 	$(".waiLine").removeClass("dis_none");
		 	$(".nothingBox").css("display","none");
		 });
		 function revokeApply(){
		 	layer.confirm('确定要撤销操作吗', {
		 	  btn: ['是','否'] //按钮
		 	}, function(){
		 	  layer.msg('撤销成功',{
		 	  			  icon:1,
                          offset:['50%'],
                          time: 2000 //2秒关闭（如果不配置，默认是3秒）
                    },function(){
                        location.reload();
                    }); 
		 	}, function(){
		 	});
		 }
	</script>
</body>
</html>